Eclipse Platform
Pre-release 3.0

org.eclipse.ui.activities
Class ActivityEvent

java.lang.Object
  extended byorg.eclipse.ui.activities.ActivityEvent

public final class ActivityEvent
extends Object

An instance of this class describes changes to an instance of IActivity.

This class is not intended to be extended by clients.

EXPERIMENTAL

Since:
3.0
See Also:
IActivityListener.activityChanged(org.eclipse.ui.activities.ActivityEvent)

Constructor Summary
ActivityEvent(IActivity activity, boolean activityActivityBindingsChanged, boolean activityPatternBindingsChanged, boolean definedChanged, boolean enabledChanged, boolean nameChanged)
          Creates a new instance of this class.
 
Method Summary
 IActivity getActivity()
          Returns the instance of the interface that changed.
 boolean hasDefinedChanged()
          Returns whether or not the defined property changed.
 boolean hasEnabledChanged()
          Returns whether or not the enabled property changed.
 boolean hasNameChanged()
          Returns whether or not the name property changed.
 boolean haveActivityActivityBindingsChanged()
          Returns whether or not the activityActivityBindings property changed.
 boolean haveActivityPatternBindingsChanged()
          Returns whether or not the activityPatternBindings property changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityEvent

public ActivityEvent(IActivity activity,
                     boolean activityActivityBindingsChanged,
                     boolean activityPatternBindingsChanged,
                     boolean definedChanged,
                     boolean enabledChanged,
                     boolean nameChanged)
Creates a new instance of this class.

Parameters:
activity - the instance of the interface that changed.
activityActivityBindingsChanged - true, iff the activityActivityBindings property changed.
activityPatternBindingsChanged - true, iff the activityPatternBindings property changed.
definedChanged - true, iff the defined property changed.
enabledChanged - true, iff the enabled property changed.
nameChanged - true, iff the name property changed.
Method Detail

getActivity

public IActivity getActivity()
Returns the instance of the interface that changed.

Returns:
the instance of the interface that changed. Guaranteed not to be null.

hasDefinedChanged

public boolean hasDefinedChanged()
Returns whether or not the defined property changed.

Returns:
true, iff the defined property changed.

hasEnabledChanged

public boolean hasEnabledChanged()
Returns whether or not the enabled property changed.

Returns:
true, iff the enabled property changed.

hasNameChanged

public boolean hasNameChanged()
Returns whether or not the name property changed.

Returns:
true, iff the name property changed.

haveActivityActivityBindingsChanged

public boolean haveActivityActivityBindingsChanged()
Returns whether or not the activityActivityBindings property changed.

Returns:
true, iff the activityActivityBindings property changed.

haveActivityPatternBindingsChanged

public boolean haveActivityPatternBindingsChanged()
Returns whether or not the activityPatternBindings property changed.

Returns:
true, iff the activityPatternBindings property changed.

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.